package lumis.portal.cluster;

/**
 * Contains the configurations for the cluster.
 *
 * @stereotype entity
 * 
 * @version $Revision: 8618 $ $Date: 2007-12-18 11:34:20 -0200 (Tue, 18 Dec 2007) $
 * @since 4.1.0
 */
public interface IClusterConfig
{
	/**
	 * Returns the time to live of the durable message, in minutes. A zero value
	 * indicates that durable messages will be treated as if they were not
	 * durable.
	 * @return the time to live of the durable message, in minutes.
	 * @since 4.1.0
	 */
	public int getDurableMessageTimeToLive();

	/**
	 * Sets the time to live of durable messages.
	 * @param durableMessageTimeToLive the time to live, in minutes. If zero,
	 * the durable messages will be treated as if they were not durable.
	 * @since 4.1.0
	 */
	public void setDurableMessageTimeToLive(int durableMessageTimeToLive);

}